num = input("判断是否为整型")

num_pre = num[0:2:1]
if num_pre == "0b":
    flag = 0
    for i in num[2:]:
        if i not in "01":
            flag = 1
elif num_pre == "0o":
    flag = 0
    for i in num[2:]:
        if i not in "01234567":
            flag = 1
elif num_pre == "0x":
    flag = 0
    for i in num[2:]:
        if i not  in "0123456789ABCDEF":
            flag = 1
elif num.isdigit():
    flag = 0
if flag == 0:
    print("是")
else:
    print("不是")


